package com.yy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.dto.SetmealDto;
import com.yy.entity.Dish;
import com.yy.entity.Setmeal;
import com.yy.utils.R;

/**
 * create by KongFuning on 2022/8/2
 */
public interface SetmealService extends IService<Setmeal> {


    R pageSetmeal(Integer page, Integer pageSize, String name);

    R saveSetmeal(SetmealDto setmealDto);

    R toUpdateSetmeal(String setmealId);

    R updateSetmeal(SetmealDto setmealDto);

    R isSale(Integer status, String ids);

    R deleteSetmeal(String ids);

    R setmealDetail(Setmeal setmeal);

    R getSetmealById(String id);
}
